package org.kyw.pay.service.impl;

import org.kyw.basic.service.impl.BaseServiceImpl;
import org.kyw.order.service.IProductOrderService;
import org.kyw.pay.domain.PayBill;
import org.kyw.pay.mapper.AlipayInfoMapper;
import org.kyw.pay.mapper.PayBillMapper;
import org.kyw.pay.service.IPayBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PayBillServiceImpl extends BaseServiceImpl<PayBill> implements IPayBillService {

    @Autowired
    private AlipayInfoMapper alipayInfoMapper;

    @Autowired
    private PayBillMapper payBillMapper;

    @Autowired
    private IProductOrderService productOrderService;

    @Override
    public PayBill loadByUnionPaySn(String unionPaySn) {
        return payBillMapper.loadByUnionPaySn(unionPaySn);
    }
}
